package com.gzhryc.jdbc.annotaion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 唯一约束
 * @author zhanghao
 *
 */
@Target(value=ElementType.FIELD)
@Retention(value=RetentionPolicy.RUNTIME)
public @interface UniqueKey {

	/**
	 * 唯一约束名
	 * @return
	 */
	public abstract String name() default "";
}
